package org.apache.dubbo.samples.seata.api;

/**
 * @author xiaobing
 * @version 1.0
 * @date 2024/9/7 17:01
 */
public interface OrderService {
    /**
     * create order
     *
     * @param userId
     * @param commodityCode
     * @param orderCount
     * @return the created order
     */
    Order create(String userId, String commodityCode, int orderCount);

}
